package day05;

public class phone {
    String brand;
    double price;
    phone(String brand,double price){
        this.brand = brand;
        this.price = price;
    }
    public void call(){
        System.out.println("打电话");
    }
    public void sendMsg(String name,String text){
        System.out.println("给"+name+"发送信息:"+text);
    }
}